package com.xl.bean;

/**
 * 注册信息封装类
 * @author 深圳-夕落  2014-11-25
 *
 */
public class Register implements BaseModel{

	
	private String userName; 
	private String password;
	private int age;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	public String toString()
	{
		return "userName :" + this.getUserName() + "\t password : " +
	this.getPassword() + "\t age:" + this.getAge();
	}

	 public Register()
	 {
		 
	 }
	 
	 public Register(String userName,String password,int age)
	 {
		this.userName = userName;
		this.password = password;
		this.age = age;
	 }
}
